<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>海量阅读 - 书籍详情</title>

  <!-- 引入Bootstrap CSS -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
  <!-- 引入Font Awesome图标 -->
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">

  <style>
    body {
      font-family: "Microsoft YaHei", Georgia, serif;
      background-color: #f5f3e6; /* 纸张色背景 */
      color: #333;
      line-height: 1.8;
    }

    /* 导航栏样式 */
    .navbar {
      background-color: #79bcff;
    }

    .navbar-brand, .nav-link {
      color: rgb(40, 40, 40) !important;
      /* 加粗 */
      font-weight: bold;
    }

    .nav-link:hover {
      color: #3c8dff !important;
    }

    .footer {
      background-color: hsl(216, 100%, 96%);
      color: #424242;
      padding: 3rem 0;
      margin-top: 3rem;
    }
    /* 书籍详情区域 */
    .book-detail {
      background-color: white;
      padding: 30px;
      border-radius: 8px;
      margin-top: 30px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .book-cover {
      width: 100%;
      max-width: 250px;
      height: auto;
      border-radius: 5px;
      box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    }

    .book-title {
      font-size: 2rem;
      margin-bottom: 10px;
    }

    .book-author {
      color: #666;
      margin-bottom: 20px;
    }

    .book-rating {
      color: #ffc107;
      margin-bottom: 20px;
    }

    .book-info {
      margin-bottom: 20px;
    }

    .info-label {
      font-weight: bold;
      display: inline-block;
      width: 80px;
    }

    /* 书籍简介 */
    .book-description {
      margin-top: 30px;
      padding-top: 20px;
      border-top: 1px solid #eee;
    }

    /* 目录区域 */
    .book-contents {
      background-color: white;
      padding: 30px;
      border-radius: 8px;
      margin-top: 20px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .contents-list {
      list-style: none;
      padding: 0;
    }

    .contents-list li {
      padding: 8px 0;
      border-bottom: 1px dashed #eee;
    }

    .contents-list li:last-child {
      border-bottom: none;
    }

    /* 相关推荐 */
    .related-books {
      margin-top: 40px;
    }

    .related-book-item {
      text-align: center;
      margin-bottom: 20px;
    }

    .related-book-img {
      width: 100%;
      height: 400px;
      object-fit: cover;
      margin-bottom: 10px;
    }

    /* 页脚样式 */

  </style>
</head>
<body>
<!-- 导航栏 -->
<nav class="navbar navbar-expand-lg">
  <div class="container">
    <a class="navbar-brand" href="index.html">
      <i class="fas fa-book-reader me-2"></i>海量阅读
    </a>
    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
      <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="navbarNav">
      <ul class="navbar-nav ms-auto">
        <li class="nav-item">
          <a class="nav-link" href="index.html">首页</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" href="check.html">搜索筛选</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" href="login.html">登录注册</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" href="personal.html">个人中心</a>
        </li>
      </ul>
    </div>
  </div>
</nav>

<div class="container">
  <!-- 书籍详情 -->
  <div class="book-detail">
    <div class="row">
      <!-- 左侧封面 -->
      <div class="col-md-3 text-center">
        <img src="/img/zfzdr.jpg" class="book-cover" alt="追风筝的人">
      </div>

      <!-- 右侧信息 -->
      <div class="col-md-9">
        <h1 class="book-title">追风筝的人</h1>
        <p class="book-author">卡勒德·胡赛尼 著 / 李继宏 译</p>

        <div class="book-rating">
          <i class="fas fa-star"></i>
          <i class="fas fa-star"></i>
          <i class="fas fa-star"></i>
          <i class="fas fa-star"></i>
          <i class="fas fa-star-half-alt"></i>
          <span class="text-muted ms-2">4.8 (1234人评价)</span>
        </div>

        <div class="book-info">
          <p><span class="info-label">出版社:</span>上海人民出版社</p>
          <p><span class="info-label">出版年:</span>2006-5</p>
          <p><span class="info-label">页数:</span>330</p>
          <p><span class="info-label">定价:</span>29.80元</p>
          <p><span class="info-label">装帧:</span>平装</p>
          <p><span class="info-label">ISBN:</span>9787208061644</p>
          <p><span class="info-label">类别:</span>文学小说 / 成长小说</p>
        </div>

        <div class="d-flex gap-3 mt-4">
          <a href="read.html" class="btn btn-primary btn-lg">
            <i class="fas fa-book-reader me-2"></i>立即阅读
          </a>
          <button class="btn btn-outline-primary btn-lg" id="collectBtn">
            <i class="far fa-heart me-2"></i>加入书架
          </button>
          <button class="btn btn-outline-secondary btn-lg">
            <i class="fas fa-share-alt me-2"></i>分享
          </button>
        </div>
      </div>
    </div>

    <!-- 书籍简介 -->
    <div class="book-description">
      <h3>内容简介</h3>
      <p class="mt-3">
        12岁的阿富汗富家少爷阿米尔与仆人哈桑情同手足。然而，在一场风筝比赛后，发生了一件悲惨不堪的事，阿米尔为自己的懦弱感到自责和痛苦，逼走了哈桑，不久，自己也跟随父亲逃往美国。
      </p>
      <p>
        成年后的阿米尔始终无法原谅自己当年对哈桑的背叛。为了赎罪，阿米尔再度踏上暌违二十多年的故乡，希望能为不幸的好友尽最后一点心力，却发现一个惊天谎言，儿时的噩梦再度重演，阿米尔该如何抉择？
      </p>
      <p>
        小说如此残忍而又美丽，作者以温暖细腻的笔法勾勒人性的本质与救赎，读来令人荡气回肠。
      </p>

      <h3 class="mt-4">作者简介</h3>
      <p class="mt-3">
        卡勒德·胡赛尼（Khaled Hosseini），1965年生于阿富汗喀布尔市，后随父亲迁往美国。胡赛尼毕业于加州大学圣地亚哥医学系，现居加州。
      </p>
      <p>
        著有小说《追风筝的人》(The Kite Runner，2003）、《灿烂千阳》(A Thousand Splendid Suns，2007)、《群山回唱》（And the Mountains Echoed,2013）。作品全球销量超过4000万册。2006年，因其作品巨大的国际影响力，胡赛尼获得联合国人道主义奖，并受邀担任联合国难民署亲善大使。
      </p>
    </div>
  </div>

  <!-- 目录 -->
  <div class="book-contents">
    <h3>目录</h3>
    <ul class="contents-list mt-3">
      <li>
        <a href="read.html#chapter1" class="text-decoration-none text-dark">
          第一章：追风筝的人
        </a>
      </li>
      <li>
        <a href="read.html#chapter2" class="text-decoration-none text-dark">
          第二章：哈桑的风筝
        </a>
      </li>
      <li>
        <a href="read.html#chapter3" class="text-decoration-none text-dark">
          第三章：背叛的阴影
        </a>
      </li>
      <li>
        <a href="read.html#chapter4" class="text-decoration-none text-dark">
          第四章：逃离与遗忘
        </a>
      </li>
      <li>
        <a href="read.html#chapter5" class="text-decoration-none text-dark">
          第五章：美国的新生活
        </a>
      </li>
      <li>
        <a href="read.html#chapter6" class="text-decoration-none text-dark">
          第六章：来自故乡的召唤
        </a>
      </li>
      <li>
        <a href="read.html#chapter7" class="text-decoration-none text-dark">
          第七章：赎罪之路
        </a>
      </li>
      <li>
        <a href="read.html#chapter8" class="text-decoration-none text-dark">
          第八章：救赎与希望
        </a>
      </li>
    </ul>
  </div>

  <!-- 相关推荐 -->
  <div class="related-books">
    <h3>相关推荐</h3>
    <div class="row mt-3">
      <div class="col-md-3 col-sm-6 related-book-item">

        <img src="/img/jyzhd.jpg" class="related-book-img" alt="解忧杂货店">
        <p>解忧杂货店</p>

      </div>
      <div class="col-md-3 col-sm-6 related-book-item">

        <img src="/img/bngd.jpg" class="related-book-img" alt="百年孤独">
        <p>百年孤独</p>

      </div>
      <div class="col-md-3 col-sm-6 related-book-item">

        <img src="/img/xwz.jpg" class="related-book-img" alt="小王子">
        <p>小王子</p>

      </div>
      <div class="col-md-3 col-sm-6 related-book-item">

        <img src="/img/rljs.jpg" class="related-book-img" alt="人类简史">
        <p>人类简史</p>

      </div>
    </div>
  </div>
</div>

<!-- 页脚 -->
<!-- 页脚 -->
<footer class="footer mt-5">
  <div class="container">
    <div class="row">
      <div class="col-md-4 mb-4">
        <h5 class="text-black mb-4">海量阅读</h5>
        <p>提供海量免费图书资源，让阅读无处不在</p>
      </div>
      <div class="col-md-2 mb-4">
        <h5 class="text-black mb-4">关于我们</h5>
        <ul class="list-unstyled">
          <li class="mb-2"><a href="#" class="text-decoration-none text-muted">关于海量</a></li>
          <li class="mb-2"><a href="#" class="text-decoration-none text-muted">加入我们</a></li>
          <li class="mb-2"><a href="#" class="text-decoration-none text-muted">联系方式</a></li>
        </ul>
      </div>
      <div class="col-md-2 mb-4">
        <h5 class="text-black mb-4">帮助中心</h5>
        <ul class="list-unstyled">
          <li class="mb-2"><a href="#" class="text-decoration-none text-muted">使用帮助</a></li>
          <li class="mb-2"><a href="#" class="text-decoration-none text-muted">常见问题</a></li>
          <li class="mb-2"><a href="#" class="text-decoration-none text-muted">意见反馈</a></li>
        </ul>
      </div>
      <div class="col-md-4 mb-4">
        <h5 class="text-black mb-4">订阅更新</h5>
        <p class="text-muted">订阅我们的 newsletter，获取最新图书资讯</p>
        <div class="input-group">
          <input type="email" class="form-control" placeholder="您的邮箱">
          <button class="btn btn-primary">订阅</button>
        </div>
      </div>
    </div>
    <hr class="my-4 bg-secondary">
    <div class="row align-items-center">
      <div class="col-md-6 text-center text-md-start">
        <p class="text-muted mb-0">© 2025 海量阅读. 保留所有权利</p>
      </div>
      <div class="col-md-6 text-center text-md-end">
        <div class="d-flex justify-content-md-end justify-content-center gap-3">
          <a href="#" class="text-muted"><i class="bi bi-facebook"></i></a>
          <a href="#" class="text-muted"><i class="bi bi-twitter"></i></a>
          <a href="#" class="text-muted"><i class="bi bi-instagram"></i></a>
          <a href="#" class="text-muted"><i class="bi bi-wechat"></i></a>
        </div>
      </div>
    </div>
  </div>
</footer>


<!-- 引入Bootstrap JS和Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<script>
  document.addEventListener('DOMContentLoaded', function() {
    // 加入书架按钮交互
    const collectBtn = document.getElementById('collectBtn');
    let isCollected = false;

    collectBtn.addEventListener('click', function() {
      isCollected = !isCollected;

      if (isCollected) {
        collectBtn.innerHTML = '<i class="fas fa-heart me-2"></i>已在书架';
        collectBtn.classList.remove('btn-outline-primary');
        collectBtn.classList.add('btn-primary');
        alert('已成功加入书架！');
      } else {
        collectBtn.innerHTML = '<i class="far fa-heart me-2"></i>加入书架';
        collectBtn.classList.remove('btn-primary');
        collectBtn.classList.add('btn-outline-primary');
      }
    });
  });
</script>
</body>
</html>
